﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Police/Police.master" AutoEventWireup="true"
    CodeFile="TransferQureyResult.aspx.cs" Inherits="Police_TransferQureyResult" StylesheetTheme="Content" %>

<%@ Register Src="../UserContral/ListPageContral.ascx" TagName="ListPageContral"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:GridView Width="100%" ID="gvTransfer" runat="server" AutoGenerateColumns="False" DataKeyNames="TransferID,SoldierID"
        Caption="<span>兵员调动记录</span>" OnSelectedIndexChanging="gvTransfer_SelectedIndexChanging"
        OnRowDataBound="gvTransfer_RowDataBound">
        <Columns>
            <asp:TemplateField ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Width="30px" HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="姓名" />
            <asp:BoundField DataField="FromUnit" HeaderText="调出单位" />
            <asp:BoundField DataField="ToUnit" HeaderText="调入单位" />
            <asp:BoundField DataField="TransferDate" DataFormatString="{0:yy-MM-dd}" HeaderText="调动时间" />
            <asp:BoundField DataField="Approver" HeaderText="批准人" />
            <asp:BoundField DataField="SetUserName" HeaderText="操作员" />
            <asp:BoundField DataField="Acceptor" HeaderText="接收人" />
            <asp:TemplateField ShowHeader="False">
                <ItemTemplate>
                 <asp:ImageButton runat="server" ID="btnview" ImageUrl="~/Images/UserView.gif" />
                   <%-- <asp:ImageButton ID="TransferImage" ImageUrl="~/Images/TransfSolider.gif" ToolTip="调动"
                        CommandName="Select" runat="server" CausesValidation="false" />--%>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <HeaderStyle HorizontalAlign="Left" />
        <RowStyle HorizontalAlign="Left" />
    </asp:GridView>
    <uc1:ListPageContral ID="ListPageContral1" OnPageSizeChange="ListPageContral1_PageSizeChange"
        PageSize="20" runat="server" />
    <asp:Label ID="lblWhere" runat="server" Visible="False"></asp:Label>
</asp:Content>
